package com.jiniutech.controller;

import com.jiniutech.common.result.ResultWrap;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/hello")
@Slf4j
@Api(value = "测试")
public class HelloController {

    /**
     * 测试hello
     * @return
     */
    @GetMapping("/helloWorld")
    @ApiOperation(value = "hello", notes = "hello", response = String.class)
    public String index() {
        return "Hello world";
    }
}
